<#--分页-->
<div class="paging-box">
    <div id="pagination3" class="page fl"></div>
    <div class="info fl">
        <p>
            总页数：<span id="totalPage">${pageView.pageCount}</span>
        </p>
    </div>
</div>
<script src="../../../js/jquery-2.1.1.min.js"></script>
<script src="../../../js/jquery.pagination.min.js"></script>

<script>
    $("#pagination3").pagination({
        currentPage: ${pageView.pageNow}, //当前页码
        totalPage: ${pageView.pageCount},  // 总页数
        isShow: true,
        count: 3,
        homePageText: "首页",
        endPageText: "尾页",
        prevPageText: "上一页",
        nextPageText: "下一页",
        callback: function (index,dom) {
            getList($("#pageUrl").val(), index);
        }
    });

    function getList(url, pageNum) {
        $.ajax({
            type: "post",
            data: {
                pageNum : pageNum,
                pageSize : 5
            },
            url: url,
            success: function (data) {
                $("#hrmmanage").empty();
                $("#hrmmanage").append(data);
            }
        });
    }
</script>